class UserListAPI {
  // 获取设备信息（包含经纬度坐标信息）

  static getUserList() {
    return new Promise((resolve) => {
      setTimeout(() => {
        const mockData = {
          code: 200,
          msg: "成功",
          data: {
            list: [
              {
                id: "171541290391211616",
                username: "毛强",
                gender: 1,
                user: {
                  detail: {
                    age: 23,
                  },
                },
                idCard: "171541290391211616",
                email: "n.cvtvkuudo@bnugng.az",
                address: "香港特别行政区 香港岛",
                createTime: "1997-08-12 23:01:59",
                status: 1,
                avatar: "https://i.imgtg.com/2023/01/16/QRBHS.jpg",
              },
              {
                id: "635382401812137273",
                username: "傅秀兰",
                gender: 1,
                user: {
                  detail: {
                    age: 15,
                  },
                },
                idCard: "635382401812137273",
                email: "d.bcy@mfkuroo.dj",
                address: "山东省 聊城市",
                createTime: "1985-11-25 06:27:29",
                status: 0,
                avatar: "https://i.imgtg.com/2023/01/16/QRa0s.jpg",
              },
              {
                id: "512768215868824036",
                username: "赵平",
                gender: 2,
                user: {
                  detail: {
                    age: 25,
                  },
                },
                idCard: "512768215868824036",
                email: "f.nqq@epdxvctv.jo",
                address: "内蒙古自治区 乌海市",
                createTime: "1974-12-27 14:47:42",
                status: 1,
                avatar: "https://i.imgtg.com/2023/01/16/QRqMK.jpg",
              },
              {
                id: "200285765168282395",
                username: "侯刚",
                gender: 1,
                user: {
                  detail: {
                    age: 26,
                  },
                },
                idCard: "200285765168282395",
                email: "x.rtoymbq@oyvwa.tf",
                address: "广西壮族自治区 崇左市",
                createTime: "2004-08-17 19:33:46",
                status: 0,
                avatar: "https://i.imgtg.com/2023/01/16/QRqMK.jpg",
              },
              {
                id: "345606687564208630",
                username: "武娟",
                gender: 1,
                user: {
                  detail: {
                    age: 19,
                  },
                },
                idCard: "345606687564208630",
                email: "h.vtdfswp@ykvn.rw",
                address: "浙江省 湖州市",
                createTime: "2018-03-25 11:22:23",
                status: 0,
                avatar: "https://i.imgtg.com/2023/01/16/QRqMK.jpg",
              },
              {
                id: "067426777733535440",
                username: "傅娜",
                gender: 2,
                user: {
                  detail: {
                    age: 27,
                  },
                },
                idCard: "067426777733535440",
                email: "q.txxqfp@msme.by",
                address: "河北省 石家庄市",
                createTime: "2007-03-31 15:18:37",
                status: 1,
                avatar: "https://i.imgtg.com/2023/01/16/QRqMK.jpg",
              },
              {
                id: "377471786845378441",
                username: "雷杰",
                gender: 1,
                user: {
                  detail: {
                    age: 24,
                  },
                },
                idCard: "377471786845378441",
                email: "b.cobitddv@xoq.es",
                address: "青海省 黄南藏族自治州",
                createTime: "2011-07-15 23:43:55",
                status: 1,
                avatar: "https://i.imgtg.com/2023/01/16/QRa0s.jpg",
              },
              {
                id: "456316381121402891",
                username: "袁涛",
                gender: 1,
                user: {
                  detail: {
                    age: 25,
                  },
                },
                idCard: "456316381121402891",
                email: "k.udom@oquhwuhc.pl",
                address: "四川省 宜宾市",
                createTime: "2006-06-16 16:31:18",
                status: 0,
                avatar: "https://i.imgtg.com/2023/01/16/QRqMK.jpg",
              },
              {
                id: "593322526121628990",
                username: "崔洋",
                gender: 2,
                user: {
                  detail: {
                    age: 15,
                  },
                },
                idCard: "593322526121628990",
                email: "z.lflrx@jodfuyg.su",
                address: "宁夏回族自治区 石嘴山市",
                createTime: "1990-09-18 15:22:39",
                status: 0,
                avatar: "https://i.imgtg.com/2023/01/16/QRqMK.jpg",
              },
              {
                id: "473123712033264745",
                username: "李强",
                gender: 1,
                user: {
                  detail: {
                    age: 30,
                  },
                },
                idCard: "473123712033264745",
                email: "r.unwgwdhjb@dvvzm.af",
                address: "陕西省 铜川市",
                createTime: "2015-10-02 15:09:48",
                status: 0,
                avatar: "https://i.imgtg.com/2023/01/16/QRBHS.jpg",
              },
            ],
            pageNum: 1,
            pageSize: 10,
            total: 2000,
          },
        };
        resolve(mockData);
      }, 300);
    });
  }
}

export default UserListAPI;
